package com.bobo.web.provider.service;

import com.bobo.web.api.domain.video.*;
import com.bobo.web.api.vo.PictureVO;
import com.bobo.web.api.vo.VideoVO;
import com.bobo.web.api.vo.base.ResponseResult;
import com.qiniu.common.QiniuException;

import java.util.List;

/**
 * 图片、视频上传接口
 */

public interface VideoAndPictureService {

    /**
     * 图片上传接口
     *
     */
    ResponseResult<VideoTokenDto> getToken() throws Exception;
    /**
     * 保存图片
     *
     */
    ResponseResult<String> savePicture(PictureVO pictureVO) throws Exception;

    ResponseResult<String> transcoding(VideoInfoDTO videoInfoDTO) throws QiniuException;

    void dealNotifyData(QiNiuPersistentNotifyDto qiNiuPersistentNotifyDto);
    void addFabulous(VideoInfoDTO videoInfoDTO);
    ResponseResult<String> addComment(CommentDO commentDO);
    ResponseResult<List<PictureVO>> getPictureList(PictureDO params);

    ResponseResult<List<VideoVO>> getVideoList(String gameId);
}
